import request from '@neu/biz-core/utils/request'
const baseUrl = 'dcom/api/w/knowledge/comment'

export const create = (id, data) => {
  return request({
    url: baseUrl + '/' + id,
    data,
    method: 'post'
  })
}

export const update = (id, data) => {
  return request({
    url: baseUrl + '/' + id,
    data,
    method: 'put'
  })
}
